package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

public class SysPositionTemp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long positionId;

    private String jobCategory;

    private Long parentId;

    private String positionName;

    private List<SysPositionTemp> children = new ArrayList<SysPositionTemp>();

    public Long getPositionId() {
        return positionId;
    }

    public void setPositionId(Long positionId) {
        this.positionId = positionId;
    }

    public String getJobCategory() {
        return jobCategory;
    }

    public void setJobCategory(String jobCategory) {
        this.jobCategory = jobCategory;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public List<SysPositionTemp> getChildren() {
        return children;
    }

    public void setChildren(List<SysPositionTemp> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "SysPositionTemp{" +
                "positionId=" + positionId +
                ", jobCategory='" + jobCategory + '\'' +
                ", parentId=" + parentId +
                ", positionName='" + positionName + '\'' +
                ", children=" + children +
                '}';
    }
}
